package com.ruoyi.workflow.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 待办任务对象 taskTodo
 * 
 * @author yuanpingfang
 * @date 2021-04-09
 */
public class TaskTodoResponse extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /**
     * msg : 查询成功
     * total : 1
     * code : 200
     * rows : [{"processDefinitionKey":"DocumentChangeProcess","processDefinitionName":"文档变更审批","processDefinitionVersion":5,"deploymentId":"cccb80e9-990f-11eb-b245-9453305755e8","taskId":"7f5b2cad-9910-11eb-b245-9453305755e8","name":"流程发起人环节","assignee":"13","processInstanceId":"14fa5add-9910-11eb-b245-9453305755e8","processDefinitionId":"DocumentChangeProcess:5:cce375bc-990f-11eb-b245-9453305755e8","createTime":"2021-04-09T08:49:30.014+0000","varMap":{"_FLOWABLE_SKIP_EXPRESSION_ENABLED":false,"processCode":"DocumentChangeProcess","initiator":"13","businessKey":"10070","userMap":{"applyUserId":"13","applyUserPost":"","applyUserName":"张三"},"auditType":"DocumentChange","businessMap":{"lastUpdatedStamp":1617241115000,"createdTxStamp":1617241108000,"createdStamp":1617241115000,"contentId":"10070","contentTypeId":"10001","description":"432432","lastUpdatedTxStamp":1617241108000,"params":{},"version":"1.0","contentName":"3423","createdDate":1617241115000,"statusId":"CTNT_INITIAL_DRAFT","createdByUserLogin":"1"},"taskStatus":"reject"},"varLocalMap":{}}]
     */

    private String msg;
    private int total;
    private int code;
    /**
     * processDefinitionKey : DocumentChangeProcess
     * processDefinitionName : 文档变更审批
     * processDefinitionVersion : 5
     * deploymentId : cccb80e9-990f-11eb-b245-9453305755e8
     * taskId : 7f5b2cad-9910-11eb-b245-9453305755e8
     * name : 流程发起人环节
     * assignee : 13
     * processInstanceId : 14fa5add-9910-11eb-b245-9453305755e8
     * processDefinitionId : DocumentChangeProcess:5:cce375bc-990f-11eb-b245-9453305755e8
     * createTime : 2021-04-09T08:49:30.014+0000
     * varMap : {"_FLOWABLE_SKIP_EXPRESSION_ENABLED":false,"processCode":"DocumentChangeProcess","initiator":"13","businessKey":"10070","userMap":{"applyUserId":"13","applyUserPost":"","applyUserName":"张三"},"auditType":"DocumentChange","businessMap":{"lastUpdatedStamp":1617241115000,"createdTxStamp":1617241108000,"createdStamp":1617241115000,"contentId":"10070","contentTypeId":"10001","description":"432432","lastUpdatedTxStamp":1617241108000,"params":{},"version":"1.0","contentName":"3423","createdDate":1617241115000,"statusId":"CTNT_INITIAL_DRAFT","createdByUserLogin":"1"},"taskStatus":"reject"}
     * varLocalMap : {}
     */

    private List<RowsBean> rows;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        private String processDefinitionKey;
        private String processDefinitionName;
        private int processDefinitionVersion;
        private String deploymentId;
        private String taskId;
        private String name;
        private String assignee;
        private String processInstanceId;
        private String processDefinitionId;
        private String createTime;
        /**
         * _FLOWABLE_SKIP_EXPRESSION_ENABLED : false
         * processCode : DocumentChangeProcess
         * initiator : 13
         * businessKey : 10070
         * userMap : {"applyUserId":"13","applyUserPost":"","applyUserName":"张三"}
         * auditType : DocumentChange
         * businessMap : {"lastUpdatedStamp":1617241115000,"createdTxStamp":1617241108000,"createdStamp":1617241115000,"contentId":"10070","contentTypeId":"10001","description":"432432","lastUpdatedTxStamp":1617241108000,"params":{},"version":"1.0","contentName":"3423","createdDate":1617241115000,"statusId":"CTNT_INITIAL_DRAFT","createdByUserLogin":"1"}
         * taskStatus : reject
         */

        private VarMapBean varMap;
        private VarLocalMapBean varLocalMap;

        public String getProcessDefinitionKey() {
            return processDefinitionKey;
        }

        public void setProcessDefinitionKey(String processDefinitionKey) {
            this.processDefinitionKey = processDefinitionKey;
        }

        public String getProcessDefinitionName() {
            return processDefinitionName;
        }

        public void setProcessDefinitionName(String processDefinitionName) {
            this.processDefinitionName = processDefinitionName;
        }

        public int getProcessDefinitionVersion() {
            return processDefinitionVersion;
        }

        public void setProcessDefinitionVersion(int processDefinitionVersion) {
            this.processDefinitionVersion = processDefinitionVersion;
        }

        public String getDeploymentId() {
            return deploymentId;
        }

        public void setDeploymentId(String deploymentId) {
            this.deploymentId = deploymentId;
        }

        public String getTaskId() {
            return taskId;
        }

        public void setTaskId(String taskId) {
            this.taskId = taskId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAssignee() {
            return assignee;
        }

        public void setAssignee(String assignee) {
            this.assignee = assignee;
        }

        public String getProcessInstanceId() {
            return processInstanceId;
        }

        public void setProcessInstanceId(String processInstanceId) {
            this.processInstanceId = processInstanceId;
        }

        public String getProcessDefinitionId() {
            return processDefinitionId;
        }

        public void setProcessDefinitionId(String processDefinitionId) {
            this.processDefinitionId = processDefinitionId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public VarMapBean getVarMap() {
            return varMap;
        }

        public void setVarMap(VarMapBean varMap) {
            this.varMap = varMap;
        }

        public VarLocalMapBean getVarLocalMap() {
            return varLocalMap;
        }

        public void setVarLocalMap(VarLocalMapBean varLocalMap) {
            this.varLocalMap = varLocalMap;
        }

        public static class VarMapBean {
            /**
             * applyUserId : 13
             * applyUserPost :
             * applyUserName : 张三
             */

            private UserMapBean userMap;
            /**
             * lastUpdatedStamp : 1617241115000
             * createdTxStamp : 1617241108000
             * createdStamp : 1617241115000
             * contentId : 10070
             * contentTypeId : 10001
             * description : 432432
             * lastUpdatedTxStamp : 1617241108000
             * params : {}
             * version : 1.0
             * contentName : 3423
             * createdDate : 1617241115000
             * statusId : CTNT_INITIAL_DRAFT
             * createdByUserLogin : 1
             */

            private BusinessMapBean businessMap;

            public UserMapBean getUserMap() {
                return userMap;
            }

            public void setUserMap(UserMapBean userMap) {
                this.userMap = userMap;
            }

            public BusinessMapBean getBusinessMap() {
                return businessMap;
            }

            public void setBusinessMap(BusinessMapBean businessMap) {
                this.businessMap = businessMap;
            }

            public static class UserMapBean {
                private String applyUserId;
                private String applyUserPost;
                private String applyUserName;

                public String getApplyUserId() {
                    return applyUserId;
                }

                public void setApplyUserId(String applyUserId) {
                    this.applyUserId = applyUserId;
                }

                public String getApplyUserPost() {
                    return applyUserPost;
                }

                public void setApplyUserPost(String applyUserPost) {
                    this.applyUserPost = applyUserPost;
                }

                public String getApplyUserName() {
                    return applyUserName;
                }

                public void setApplyUserName(String applyUserName) {
                    this.applyUserName = applyUserName;
                }
            }

            public static class BusinessMapBean {
                private long lastUpdatedStamp;
                private long createdTxStamp;
                private long createdStamp;
                private String contentId;
                private String contentTypeId;
                private String description;
                private long lastUpdatedTxStamp;
                private ParamsBean params;
                private String version;
                private String contentName;
                private long createdDate;
                private String statusId;
                private String createdByUserLogin;

                public long getLastUpdatedStamp() {
                    return lastUpdatedStamp;
                }

                public void setLastUpdatedStamp(long lastUpdatedStamp) {
                    this.lastUpdatedStamp = lastUpdatedStamp;
                }

                public long getCreatedTxStamp() {
                    return createdTxStamp;
                }

                public void setCreatedTxStamp(long createdTxStamp) {
                    this.createdTxStamp = createdTxStamp;
                }

                public long getCreatedStamp() {
                    return createdStamp;
                }

                public void setCreatedStamp(long createdStamp) {
                    this.createdStamp = createdStamp;
                }

                public String getContentId() {
                    return contentId;
                }

                public void setContentId(String contentId) {
                    this.contentId = contentId;
                }

                public String getContentTypeId() {
                    return contentTypeId;
                }

                public void setContentTypeId(String contentTypeId) {
                    this.contentTypeId = contentTypeId;
                }

                public String getDescription() {
                    return description;
                }

                public void setDescription(String description) {
                    this.description = description;
                }

                public long getLastUpdatedTxStamp() {
                    return lastUpdatedTxStamp;
                }

                public void setLastUpdatedTxStamp(long lastUpdatedTxStamp) {
                    this.lastUpdatedTxStamp = lastUpdatedTxStamp;
                }

                public ParamsBean getParams() {
                    return params;
                }

                public void setParams(ParamsBean params) {
                    this.params = params;
                }

                public String getVersion() {
                    return version;
                }

                public void setVersion(String version) {
                    this.version = version;
                }

                public String getContentName() {
                    return contentName;
                }

                public void setContentName(String contentName) {
                    this.contentName = contentName;
                }

                public long getCreatedDate() {
                    return createdDate;
                }

                public void setCreatedDate(long createdDate) {
                    this.createdDate = createdDate;
                }

                public String getStatusId() {
                    return statusId;
                }

                public void setStatusId(String statusId) {
                    this.statusId = statusId;
                }

                public String getCreatedByUserLogin() {
                    return createdByUserLogin;
                }

                public void setCreatedByUserLogin(String createdByUserLogin) {
                    this.createdByUserLogin = createdByUserLogin;
                }

                public static class ParamsBean {
                }
            }
        }

        public static class VarLocalMapBean {
        }
    }
}
